package com.softa.service.business;

import com.github.pagehelper.PageInfo;
import com.softa.dao.model.ProductType;
import com.softa.vo.DataGridRequest;
import com.softa.vo.QueryRequest;

import java.util.List;

public interface ProductTypeService {

   PageInfo<ProductType> queryProductTypeByParam(DataGridRequest request, final QueryRequest queryRequest);

   String createProductType(ProductType productType);

   String updateType(ProductType productType);

   void deleteType(Long id);

   List<ProductType> queryAll();
}
